package com.hotel.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReservationDTO {
    /**
     * 预订表id
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 房间类型id
     */
    private Integer roomTypeId;
    /**
     * 房间id
     */
    private Integer assignedRoomId;
    /**
     * 预订开始时间
     */
    private LocalDateTime checkInDate;
    /**
     * 预订结束时间
     */
    private LocalDateTime checkOutDate;
    /**
     * 成人数量
     */
    private Integer adultNum;
    /**
     * 儿童数量
     */
    private Integer childNum;
    /**
     * 特殊要求
     */
    private String request;
    /**
     * 预订状态
     */
    private Integer status;

}
